package com.cloudbroker.bcs.platform.ltb.middle.dao;

import com.cloudbroker.bcs.common.dao.base.DAOBase;
import com.cloudbroker.bcs.platform.ltb.middle.entity.Msg;
import com.cloudbroker.bcs.platform.ltb.middle.entityview.MsgGroupCountParam;
import com.cloudbroker.bcs.platform.ltb.middle.entityview.MsgGroupCountView;
import com.cloudbroker.bcs.platform.ltb.middle.entityview.MsgListParam;

import java.util.List;

/**
 * Created by daibd19671 on 2016/12/28.
 */
public interface MsgDAO extends DAOBase<Msg, String> {
    List<MsgGroupCountView> groupCount(MsgGroupCountParam param);

    List<Msg> queryByType(MsgListParam msg);

    List<Msg> queryCombine(MsgListParam msg);

    List<Msg> groupLastMsg(MsgGroupCountParam param);
}
